/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.Ufes.exeSwing.Presenter;

import edu.Ufes.exeSwing.View.LoginView;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author bhetynnacatalunha
 */
public class LoginPresenter {
    
    LoginView loginView;

    public LoginPresenter() {
        loginView = new LoginView();
        loginView.getBtnFechar().addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent ae) {
                loginView.dispose();
            }
            
        });
        
    
    }
    
}
